#ifndef INTERNETCLIENT_H
#define INTERNETCLIENT_H

#include <QAbstractSocket>
#include <QTcpSocket>
#include <database.h>
#include <QRandomGenerator>

class internetClient
{
public:
    internetClient(){};
    internetClient(const QString &hostName, quint16 port);
    bool C_connect(const QString &hostName, quint16 port);
    void C_send();
    bool arg;
private:
    QTcpSocket socket;
};

#endif // INTERNETCLIENT_H
